<?php if (!defined("_ECRIRE_INC_VERSION")) return;

/**
 *  Dymanic Tag wich outputs Success Message
 *  Format: #PDK_MESSAGE_OK
 */

function balise_PDK_MESSAGE_OK($p) {	
	return calculer_balise_dynamique($p,'PDK_MESSAGE_OK', array());
}

function balise_PDK_MESSAGE_OK_stat($args, $filtres) {    
	return $args;
}

function balise_PDK_MESSAGE_OK_dyn($namespace='default') {  
    @session_start();
    $message = $_SESSION['pdk_message_ok'][$namespace];
    unset($_SESSION['pdk_message_ok'][$namespace]);
    
    return array('balise/pdk_message', 0, 
		array('message' => $message            
		));
}

?>